<?php return array (
  'package' => 
  array (
    'type' => 'module',
    'name' => 'visits',
    'version' => '4.0.0',
    'path' => 'application/modules/Visits',
    'title' => 'Visits',
    'description' => 'Visits Module by GeoDeveloper.net',
    'author' => 'GeoDeveloper.net',
    'actions' => array(
       'install',
       'upgrade',
       'refresh',
       'enable',
       'disable',
     ),
    'callback' => array(
      'path' => 'application/modules/Visits/settings/install.php',
      'class' => 'Visits_Installer',
    ),
    'directories' => array (
      'application/modules/Visits',
    ),
    'files' => array (
    'application/languages/en/visits.csv',
    ),
  ),
  // Hooks ---------------------------------------------------------------------
  'hooks' => array(
    array(
      'event' => 'onUserDeleteBefore',
      'resource' => 'Visits_Plugin_Core'
    )
  ),
  // Routes --------------------------------------------------------------------
  'routes' => array(
     'visits_extended' => array(
      'route' => 'visits/:controller/:action/*',
      'defaults' => array(
        'module' => 'visits',
        'controller' => 'index',
        'action' => 'index'
      )
    ),
    'visits_general' => array(
      'route' => 'visits/:action/*',
      'defaults' => array(
        'module' => 'visits',
        'controller' => 'index',
        'action' => '(index|whoiviewed)',
      )
    ),
    'visits_visits' => array(
      'route' => 'visits/:action/*',
      'defaults' => array(
        'module' => 'visits',
        'controller' => 'index',
        'action' => 'index'
      )
    ),
    'visits_notifications' => array(
      'route' => '/visits/notifications/:action/*',
      'defaults' => array(
        'module' => 'visits',
        'controller' => 'notifications',
        'action' => 'index'
      )
    ),
  )
); ?>